
///////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// Table 6 - Results by Civil and Criminal Cases //////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

*** Loading the Data
use Data_OPO_Master.dta, clear
keep if use==1

***  Panel A - Civil Cases

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6A.tex", nocons replace tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out coa_enbanc coa_panel_dissent coa_lc_reversed dismissed  i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6A.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6A.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6A.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)


***  Calculating the Effect Size for the Text of the Paper

summarize sc_cert_granted if no_odd_party_out==1 & civil==1

* The Coefficient from Model 4 & Dividing by the Probability of Cert with No OPO for Civil cases
di .0413133 /.0810403 

***  Panel B - Criminal Cases

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  i.sc_term i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6B.tex", nocons replace tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out coa_enbanc coa_panel_dissent coa_lc_reversed dismissed  i.sc_term i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6B.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln i.sc_term i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6B.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if criminal==1 , cluster(sc_term)
outreg2 panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "Table6B.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)
